package com.hdoit.kylin.logical.group.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import javax.persistence.Transient;

import com.tennetcn.common.message.ModelBase;

/**
 * @author luozhicheng
 * @email
 * @createtime 2017年07月19日 16:00:46
 * @comment
 */
@Entity
@Table(name = "group_project")
public class Project extends ModelBase {
	// 项目id
	@Id
	@Column(name = "projectId")
	private String projectId;
	// 项目名
	@Column(name = "projectName")
	private String projectName;
	// 负责人id
	@Column(name = "projectLeaderId")
	private String projectLeaderId;
	// 项目描述
	@Column(name = "projectComment")
	private String projectComment;
	// 项目启动时间
	@Column(name = "projectStartDate")
	private Date projectStartDate;
	// 项目截止时间
	@Column(name = "projectFinishDate")
	private Date projectFinishDate;
	// 创建者id
	@Column(name = "createrId")
	private String createrId;
	// 创建时间
	@Column(name = "createDate")
	private Date createDate;
	// 隶属课题组
	@Column(name = "groupId")
	private String groupId;
	
	@Column(name = "state")
	private String state;
	
	@Column(name = "mark")
	private Integer mark;
	
	@Column(name = "templateId")
	private String templateId;
	
	@Transient
	private String personIds;
	
	public String getPersonIds() {
		return personIds;
	}

	public void setPersonIds(String personIds) {
		this.personIds = personIds;
	}
	
	public String getTemplateId() {
		return templateId;
	}

	public void setTemplateId(String templateId) {
		this.templateId = templateId;
	}

	@Transient
	private String createName;
	
	@Transient
	private String dutyUserName;
	
	
//	//进度
//	@Column(name = "process")
//	private int process;
//
//	public int getProcess() {
//		return process;
//	}
//
//	public void setProcess(int process) {
//		this.process = process;
//	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Integer getMark() {
		return mark;
	}

	public void setMark(Integer mark) {
		this.mark = mark;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public String getDutyUserName() {
		return dutyUserName;
	}

	public void setDutyUserName(String dutyUserName) {
		this.dutyUserName = dutyUserName;
	}
	public String getProjectId() {
		return this.projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getProjectName() {
		return this.projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getProjectLeaderId() {
		return this.projectLeaderId;
	}

	public void setProjectLeaderId(String projectLeaderId) {
		this.projectLeaderId = projectLeaderId;
	}

	public String getProjectComment() {
		return this.projectComment;
	}

	public void setProjectComment(String projectComment) {
		this.projectComment = projectComment;
	}

	public Date getProjectStartDate() {
		return this.projectStartDate;
	}

	public void setProjectStartDate(Date projectStartDate) {
		this.projectStartDate = projectStartDate;
	}

	public Date getProjectFinishDate() {
		return this.projectFinishDate;
	}

	public void setProjectFinishDate(Date projectFinishDate) {
		this.projectFinishDate = projectFinishDate;
	}

	public String getCreaterId() {
		return this.createrId;
	}

	public void setCreaterId(String createrId) {
		this.createrId = createrId;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getGroupId() {
		return this.groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}
}
